FROM cjpthree/centos7
ADD server-jre-8u191-linux-x64.tar.gz /opt
ENV JAVA_HOME /opt/jdk1.8.0_191
ENV JRE_HOME $JAVA_HOME/jre
ENV CLASSPATH .:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$JRE_HOME/lib
ENV PATH $JAVA_HOME/bin:$PATH
